package com.tequila.core.dao;

import com.tequila.domain.dto.BranchStoreDto;
import com.tequila.domain.entity.BranchStore;
import com.tequila.domain.query.BranchStoreQuery;

import java.util.List;

public interface BranchStoreDao {
    BranchStore queryById(Long id);

    List<BranchStoreDto> queryByIdList(List<Long> idList);

    List<BranchStoreDto> queryListByParam(BranchStoreQuery query);

    List<BranchStoreDto> queryPageListByParam(BranchStoreQuery query);

    int queryPageCountByParam(BranchStoreQuery query);

    int insert(BranchStore entity);

    int insertSelective(BranchStore entity);

    int updateById(BranchStore param);

    int updateSelectiveById(BranchStore param);

    int deleteById(Long id);

    int deleteByIdList(List<Long> idList);
}